package com.zkr.thresho.model;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by lenovo on 2021/1/9.
 */
@Data
public class SpareSelectVo {
    private Integer materialId;
    private String materialCode;
    private String materialName;
    private String legalPersonCode;
    private String legalPersonName;
    private String name;
    private String code;
    private String updateName;
    private Date updateTime;
    @NotNull(message = "数量阀值不能为空")
    @Max(message = "数量阀值不能超过9999", value =9999 )
    private Integer threshonum;
    private String remark;
    private Integer threshoId;
}
